package kr.co.hk.depart;


import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class Shopping_Main extends TabActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		TabHost mTabHost = getTabHost();

		Intent shinIntent = new Intent().setClass(this, ShinList.class);

		Intent hyunIntent = new Intent().setClass(this, HyunList.class);

		Intent lotteIntent = new Intent().setClass(this, LotteList.class);

		
		
		mTabHost.addTab(mTabHost.newTabSpec("tab1").setIndicator("신세계백화점")
				.setContent(shinIntent));
		mTabHost.addTab(mTabHost.newTabSpec("tab2").setIndicator("현대백화점")
				.setContent(hyunIntent));
		mTabHost.addTab(mTabHost.newTabSpec("tab3").setIndicator("롯데백화점")
				.setContent(lotteIntent));
		
		mTabHost.setCurrentTab(0);
	}
		
		

}
